/**
 * 
 */
package org.cnbi.utils.chart.xml.component;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.cnbi.utils.chart.component.DataSet;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * @company 中国经邦
 * @author Administrator
 * @date: 2014年3月14日下午5:32:02
 * @version: V1.0
 */
@XmlRootElement(name = "dataset")
public class XmlDataSet extends DataSet {
	
	protected List<XmlData> data;
	
	public XmlDataSet(){}
	
	public XmlDataSet(String seriesName, List<XmlData> data) {
		this.seriesname = seriesName;
		this.data = data;
	}

	@XmlAttribute
	public String getSeriesname() {
		return seriesname;
	}

   @XmlElement(name = "set")
	public List<XmlData> getData() {
		return data;
	}

	@XmlAttribute
	public String getColor() {
		return color;
	}

	@XmlAttribute
	public String getPlotbordercolor() {
		return plotbordercolor;
	}

	@XmlAttribute
	public String getShowvalues() {
		return showvalues;
	}

	@XmlAttribute
	public String getRenderas() {
		return renderas;
	}
}
